<%@ page import="tech.aistar.service.IUserService" %>
<%@ page import="tech.aistar.service.impl.UserServiceImpl" %>
<%@ page import="tech.aistar.pojo.User" %>
<%@ page import="java.util.List" %><%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2021/4/20
  Time: 11:21 上午
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title></title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

</head>
<body>
    <%!
        private IUserService userService = new UserServiceImpl();
    %>

    <%
//        jsp+javabean - 没有controller
        List<User> users = userService.loadAll();
        request.setAttribute("users",users);
    %>
    ${users}
</body>
</html>
